<extend name="./Application/Admin/View/base.html" />
<block name="title"><title><?php echo C(APP_NAME);?>PC端管理</title></block>
<block name="stylesheets">
<link rel="stylesheet" href="__PUBLIC__/assets/css/colorbox.css" />
<link rel="stylesheet" href="__PUBLIC__/assets/css/ace.css" class="ace-main-stylesheet" id="main-ace-style" />
</block>
<block name="stylecss">
<style type='text/css'>
	.pages a,.pages span {
	    display:inline-block;
	    padding:5px 9px;
	    margin:0 1px;
	    border:1px solid #f0f0f0;
	}
	.pages a,.pages li {
	    display:inline-block;
	    list-style: none;
	    text-decoration:none; color:#58A0D3;
	}
	.pages a.first,.pages a.prev,.pages a.next,.pages a.end{
	    margin:0;
	}
	.pages a:hover{
	    border-color:#50A8E6;
	}
	.pages span.current{
	    background:#50A8E6;
	    color:#FFF;
	    font-weight:700;
	    border-color:#50A8E6;
	}
	.table input,select{
		border-radius:6px !important;
	}
</style>
</block>
<block name="smallmenu">
<ul class="breadcrumb">
	<li>
		<i class="ace-icon fa fa-home home-icon"></i>
		<a href="{:U('Index/index')}">主页</a>
	</li>

	<li class="active">考题类型</li>
</ul><!-- /.breadcrumb -->

<!-- #section:basics/content.searchbox -->
<div class="nav-search" id="nav-search"><button class="btn btn-xs btn-pink" onClick='location.href="__CONTROLLER__/examquestiontype_add"'>添加考题类型</button></div>
<!-- /.nav-search -->
</block>

<block name="content">
	<input type="hidden" id="crontab-s" />

	<table id="sample-table-1" class="table table-striped table-bordered table-hover">
		<thead>
			<tr>
				<th class="center">编号</th>
				<th class="center">考题类型标题</th>
				<th class="center">分数</th>
				<th class="center">操作</th>
			</tr>
		</thead>

		<tbody>
			<foreach name="examquestiontype_arr" item="v">
			<tr style="text-align:center">
				<td>{$v.examquestiontype_id}</td>
				<td>{$v.examquestiontype_title|msubstr=###,0,30,'utf-8',false}</td>
				<td>{$v.examquestiontype_score}</td>
				<td>
					<div class="hidden-sm hidden-xs btn-group">
						<div class="hidden-sm hidden-xs action-buttons">

							<a class="green" style='cursor:pointer' onClick='location.href="__CONTROLLER__/examquestiontype_edit/examquestiontype_id/{$v.examquestiontype_id}"' title='修改考题类型信息'>
								<i class="ace-icon fa fa-pencil bigger-130"></i>
							</a>
						</div>
					</div>
				</td>
			</tr>
		    </foreach>
		</tbody>
	</table>
<div class="pages" style="float:right">{$page}</div>

</block>
<block name="scripts">
	<script src="__PUBLIC__/assets/js/jquery.colorbox.js"></script>
</block>
<block name="jscript">
<script script="text/javascript">
    $(function(){
        $('#menu_examquestion').addClass('active open');
        $('#menu_examquestiontype_list').addClass('active');
    });
</script>
</block>